package a_wait_notify;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package a_wait_notify
 * @date 2024/4/7 下午7:00
 */
public class test01 {
    public static void main(String[] args) {
        Baozipu baozipu = new Baozipu();
        Product product = new Product(baozipu);
        Cousumer cousumer = new Cousumer(baozipu);
        Thread t1 = new Thread(product);
        Thread t2 = new Thread(cousumer);
        t1.start();
        t2.start();
    }
}
